package com.tengju.user.infrastructure.persistence.mybatis.mapper.dealer.custom;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.ClubMemberDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenhang
 * @Date 2021/1/13
 */
public interface ClubMemberDOCustomMapper {

    Long findClubIdByIdCode(@Param("idCode") long idCode);

    void changeClub(@Param("idCode") long idCode, @Param("clubId") long clubId);

    List<ClubMemberDO> listMembers(@Param("clubIds") List<Long> clubIdValues);

    void delMember(@Param("idCode") long idCode, @Param("clubId") long clubId);


    List<ClubMemberDO> queryMembers(@Param("clubId") Long clubId);
}
